addAsset

abstract fun addAsset(sourceId: String, asset: AssetDefinition)

Adds the given asset to a local asset source.

Parameters

sourceId

The local asset source ID that the asset should be added to.

asset

the asset that should be added.